package com.naizhuai.ui.home;

import android.support.annotation.NonNull;

import com.naizhuai.BasePresenter;
import com.naizhuai.BaseView;
import com.naizhuai.ui.entity.MainPage;
import com.naizhuai.ui.entity.NoticeAndBanner;
import com.naizhuai.ui.entity.RecommendScheme;

import java.util.List;

/**
 * @author：lichenxi
 * @date 2018/1/26 14
 * email：525603977@qq.com
 * Fighting
 */
public class HomeContract {

    interface View extends BaseView<Presenter> {
        void showBanner(@NonNull List<NoticeAndBanner> bannerItemList);

        void showNotice(@NonNull List<NoticeAndBanner> noticeList);

        void showBirghtPoints(@NonNull List<RecommendScheme> schemeList, boolean isadd);

        void showFailMsg(@NonNull String errorMsg);

        void stopRefresh();
    }

    interface Presenter extends BasePresenter<View> {
        void loadMainPage();

        void loadMoreBirghtPoint();
    }
}
